# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/MMC/transaksiEdit.ui'
#
# Created: Sat Jan 10 14:09:44 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_transaksiEditDlg(object):
    def setupUi(self, transaksiEditDlg):
        transaksiEditDlg.setObjectName("transaksiEditDlg")
        transaksiEditDlg.setWindowModality(QtCore.Qt.ApplicationModal)
        transaksiEditDlg.resize(QtCore.QSize(QtCore.QRect(0,0,865,443).size()).expandedTo(transaksiEditDlg.minimumSizeHint()))
        transaksiEditDlg.setMaximumSize(QtCore.QSize(865,700))

        self.idPlg = QtGui.QLineEdit(transaksiEditDlg)
        self.idPlg.setGeometry(QtCore.QRect(9,460,847,28))
        self.idPlg.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.idPlg.setObjectName("idPlg")

        self.widget = QtGui.QWidget(transaksiEditDlg)
        self.widget.setGeometry(QtCore.QRect(9,9,847,427))
        self.widget.setObjectName("widget")

        self.vboxlayout = QtGui.QVBoxLayout(self.widget)
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")

        self.label_2 = QtGui.QLabel(self.widget)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,0,0,1,1)

        self.noDok = QtGui.QLineEdit(self.widget)
        self.noDok.setFocusPolicy(QtCore.Qt.NoFocus)
        self.noDok.setFrame(False)
        self.noDok.setObjectName("noDok")
        self.gridlayout.addWidget(self.noDok,0,1,1,5)

        spacerItem = QtGui.QSpacerItem(5,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,0,6,1,1)

        self.label_22 = QtGui.QLabel(self.widget)
        self.label_22.setObjectName("label_22")
        self.gridlayout.addWidget(self.label_22,0,7,1,1)

        self.totalRp = QtGui.QLineEdit(self.widget)
        self.totalRp.setFocusPolicy(QtCore.Qt.NoFocus)
        self.totalRp.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.totalRp.setFrame(False)
        self.totalRp.setObjectName("totalRp")
        self.gridlayout.addWidget(self.totalRp,0,8,1,3)

        self.label_16 = QtGui.QLabel(self.widget)
        self.label_16.setObjectName("label_16")
        self.gridlayout.addWidget(self.label_16,0,12,1,1)

        self.disetor = QtGui.QLineEdit(self.widget)
        self.disetor.setObjectName("disetor")
        self.gridlayout.addWidget(self.disetor,0,13,1,1)

        self.label_18 = QtGui.QLabel(self.widget)
        self.label_18.setObjectName("label_18")
        self.gridlayout.addWidget(self.label_18,1,0,1,1)

        self.tglDok = QtGui.QDateEdit(self.widget)
        self.tglDok.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.tglDok.setCalendarPopup(True)
        self.tglDok.setObjectName("tglDok")
        self.gridlayout.addWidget(self.tglDok,1,1,1,2)

        spacerItem1 = QtGui.QSpacerItem(70,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1,1,3,1,3)

        self.label_6 = QtGui.QLabel(self.widget)
        self.label_6.setObjectName("label_6")
        self.gridlayout.addWidget(self.label_6,1,7,1,2)

        self.poin = QtGui.QLineEdit(self.widget)
        self.poin.setFocusPolicy(QtCore.Qt.NoFocus)
        self.poin.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.poin.setFrame(False)
        self.poin.setObjectName("poin")
        self.gridlayout.addWidget(self.poin,1,9,1,2)

        spacerItem2 = QtGui.QSpacerItem(5,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2,1,11,1,1)

        self.label_21 = QtGui.QLabel(self.widget)
        self.label_21.setObjectName("label_21")
        self.gridlayout.addWidget(self.label_21,1,12,1,1)

        self.ket = QtGui.QLineEdit(self.widget)
        self.ket.setObjectName("ket")
        self.gridlayout.addWidget(self.ket,1,13,1,1)

        self.label_3 = QtGui.QLabel(self.widget)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,2,0,1,1)

        self.nama = QtGui.QLineEdit(self.widget)
        self.nama.setFocusPolicy(QtCore.Qt.NoFocus)
        self.nama.setFrame(False)
        self.nama.setObjectName("nama")
        self.gridlayout.addWidget(self.nama,2,1,1,3)

        self.cariBtn = QtGui.QPushButton(self.widget)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cariBtn.sizePolicy().hasHeightForWidth())
        self.cariBtn.setSizePolicy(sizePolicy)
        self.cariBtn.setMaximumSize(QtCore.QSize(50,16777215))
        self.cariBtn.setObjectName("cariBtn")
        self.gridlayout.addWidget(self.cariBtn,2,4,1,1)

        self.baruBtn = QtGui.QPushButton(self.widget)
        self.baruBtn.setEnabled(False)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.baruBtn.sizePolicy().hasHeightForWidth())
        self.baruBtn.setSizePolicy(sizePolicy)
        self.baruBtn.setMaximumSize(QtCore.QSize(50,16777215))
        self.baruBtn.setFocusPolicy(QtCore.Qt.NoFocus)
        self.baruBtn.setObjectName("baruBtn")
        self.gridlayout.addWidget(self.baruBtn,2,5,1,1)

        self.label_17 = QtGui.QLabel(self.widget)
        self.label_17.setObjectName("label_17")
        self.gridlayout.addWidget(self.label_17,2,7,1,2)

        self.noKartu = QtGui.QLineEdit(self.widget)
        self.noKartu.setMaxLength(6)
        self.noKartu.setObjectName("noKartu")
        self.gridlayout.addWidget(self.noKartu,2,9,1,2)

        self.label_23 = QtGui.QLabel(self.widget)
        self.label_23.setObjectName("label_23")
        self.gridlayout.addWidget(self.label_23,2,12,1,1)

        self.idTrans = QtGui.QLineEdit(self.widget)
        self.idTrans.setFocusPolicy(QtCore.Qt.NoFocus)
        self.idTrans.setFrame(False)
        self.idTrans.setObjectName("idTrans")
        self.gridlayout.addWidget(self.idTrans,2,13,1,1)

        self.label = QtGui.QLabel(self.widget)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,3,0,1,1)

        self.noMmc = QtGui.QLineEdit(self.widget)
        self.noMmc.setFocusPolicy(QtCore.Qt.NoFocus)
        self.noMmc.setMaxLength(25)
        self.noMmc.setFrame(False)
        self.noMmc.setObjectName("noMmc")
        self.gridlayout.addWidget(self.noMmc,3,1,1,1)

        self.label_5 = QtGui.QLabel(self.widget)
        self.label_5.setObjectName("label_5")
        self.gridlayout.addWidget(self.label_5,3,2,1,1)

        self.telp = QtGui.QLineEdit(self.widget)
        self.telp.setFocusPolicy(QtCore.Qt.NoFocus)
        self.telp.setMaxLength(25)
        self.telp.setFrame(False)
        self.telp.setObjectName("telp")
        self.gridlayout.addWidget(self.telp,3,3,1,3)

        self.label_9 = QtGui.QLabel(self.widget)
        self.label_9.setObjectName("label_9")
        self.gridlayout.addWidget(self.label_9,3,7,1,3)

        self.tipeKartu = QtGui.QComboBox(self.widget)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tipeKartu.sizePolicy().hasHeightForWidth())
        self.tipeKartu.setSizePolicy(sizePolicy)
        self.tipeKartu.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tipeKartu.setFrame(False)
        self.tipeKartu.setObjectName("tipeKartu")
        self.gridlayout.addWidget(self.tipeKartu,3,10,1,1)

        self.label_24 = QtGui.QLabel(self.widget)
        self.label_24.setObjectName("label_24")
        self.gridlayout.addWidget(self.label_24,3,12,1,1)

        self.auditUser = QtGui.QLineEdit(self.widget)
        self.auditUser.setFocusPolicy(QtCore.Qt.NoFocus)
        self.auditUser.setFrame(False)
        self.auditUser.setReadOnly(True)
        self.auditUser.setObjectName("auditUser")
        self.gridlayout.addWidget(self.auditUser,3,13,1,1)

        self.label_4 = QtGui.QLabel(self.widget)
        self.label_4.setObjectName("label_4")
        self.gridlayout.addWidget(self.label_4,4,0,1,1)

        self.alamat = QtGui.QLineEdit(self.widget)
        self.alamat.setFocusPolicy(QtCore.Qt.NoFocus)
        self.alamat.setMaxLength(25)
        self.alamat.setFrame(False)
        self.alamat.setObjectName("alamat")
        self.gridlayout.addWidget(self.alamat,4,1,1,5)

        self.label_10 = QtGui.QLabel(self.widget)
        self.label_10.setObjectName("label_10")
        self.gridlayout.addWidget(self.label_10,4,7,1,2)

        self.jenisToko = QtGui.QComboBox(self.widget)
        self.jenisToko.setObjectName("jenisToko")
        self.jenisToko.addItem("")
        self.gridlayout.addWidget(self.jenisToko,4,9,1,2)

        self.label_25 = QtGui.QLabel(self.widget)
        self.label_25.setObjectName("label_25")
        self.gridlayout.addWidget(self.label_25,4,12,1,1)

        self.auditTime = QtGui.QDateTimeEdit(self.widget)
        self.auditTime.setFocusPolicy(QtCore.Qt.NoFocus)
        self.auditTime.setReadOnly(False)
        self.auditTime.setCalendarPopup(False)
        self.auditTime.setObjectName("auditTime")
        self.gridlayout.addWidget(self.auditTime,4,13,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.line = QtGui.QFrame(self.widget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.vboxlayout.addWidget(self.line)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        self.tambahDet = QtGui.QPushButton(self.widget)
        self.tambahDet.setMinimumSize(QtCore.QSize(400,0))
        self.tambahDet.setObjectName("tambahDet")
        self.hboxlayout.addWidget(self.tambahDet)

        spacerItem3 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem3)

        self.hapusDet = QtGui.QPushButton(self.widget)
        self.hapusDet.setMinimumSize(QtCore.QSize(400,0))
        self.hapusDet.setObjectName("hapusDet")
        self.hboxlayout.addWidget(self.hapusDet)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.detail = QtGui.QTableView(self.widget)
        self.detail.setAlternatingRowColors(True)
        self.detail.setSortingEnabled(True)
        self.detail.setObjectName("detail")
        self.vboxlayout.addWidget(self.detail)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")

        spacerItem4 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem4)

        self.simpan = QtGui.QPushButton(self.widget)
        self.simpan.setObjectName("simpan")
        self.hboxlayout1.addWidget(self.simpan)

        self.batal = QtGui.QPushButton(self.widget)
        self.batal.setObjectName("batal")
        self.hboxlayout1.addWidget(self.batal)

        spacerItem5 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem5)
        self.vboxlayout.addLayout(self.hboxlayout1)
        self.label_2.setBuddy(self.noDok)
        self.label_22.setBuddy(self.totalRp)
        self.label_16.setBuddy(self.disetor)
        self.label_18.setBuddy(self.tglDok)
        self.label_6.setBuddy(self.poin)
        self.label_21.setBuddy(self.ket)
        self.label_3.setBuddy(self.nama)
        self.label_17.setBuddy(self.noKartu)

        self.retranslateUi(transaksiEditDlg)
        QtCore.QMetaObject.connectSlotsByName(transaksiEditDlg)
        transaksiEditDlg.setTabOrder(self.tglDok,self.cariBtn)
        transaksiEditDlg.setTabOrder(self.cariBtn,self.noKartu)
        transaksiEditDlg.setTabOrder(self.noKartu,self.jenisToko)
        transaksiEditDlg.setTabOrder(self.jenisToko,self.disetor)
        transaksiEditDlg.setTabOrder(self.disetor,self.ket)
        transaksiEditDlg.setTabOrder(self.ket,self.tambahDet)
        transaksiEditDlg.setTabOrder(self.tambahDet,self.detail)
        transaksiEditDlg.setTabOrder(self.detail,self.simpan)
        transaksiEditDlg.setTabOrder(self.simpan,self.batal)
        transaksiEditDlg.setTabOrder(self.batal,self.hapusDet)
        transaksiEditDlg.setTabOrder(self.hapusDet,self.baruBtn)
        transaksiEditDlg.setTabOrder(self.baruBtn,self.idPlg)

    def retranslateUi(self, transaksiEditDlg):
        transaksiEditDlg.setWindowTitle(QtGui.QApplication.translate("transaksiEditDlg", "Edit / Add Transaksi", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("transaksiEditDlg", "No Dok:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_22.setText(QtGui.QApplication.translate("transaksiEditDlg", "Total Rp:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(QtGui.QApplication.translate("transaksiEditDlg", "Disetor:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_18.setText(QtGui.QApplication.translate("transaksiEditDlg", "Tgl Dok:", None, QtGui.QApplication.UnicodeUTF8))
        self.tglDok.setDisplayFormat(QtGui.QApplication.translate("transaksiEditDlg", "dd-MM-yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("transaksiEditDlg", "Total Poin:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_21.setText(QtGui.QApplication.translate("transaksiEditDlg", "Ket:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("transaksiEditDlg", "Pelanggan:", None, QtGui.QApplication.UnicodeUTF8))
        self.cariBtn.setText(QtGui.QApplication.translate("transaksiEditDlg", "Cari", None, QtGui.QApplication.UnicodeUTF8))
        self.baruBtn.setText(QtGui.QApplication.translate("transaksiEditDlg", "Baru", None, QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(QtGui.QApplication.translate("transaksiEditDlg", "No Kartu Kredit:", None, QtGui.QApplication.UnicodeUTF8))
        self.noKartu.setInputMask(QtGui.QApplication.translate("transaksiEditDlg", "999999; ", None, QtGui.QApplication.UnicodeUTF8))
        self.label_23.setText(QtGui.QApplication.translate("transaksiEditDlg", "ID:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("transaksiEditDlg", "No MMC:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("transaksiEditDlg", "Telp:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("transaksiEditDlg", "Kartu Kredit:", None, QtGui.QApplication.UnicodeUTF8))
        self.tipeKartu.addItem(QtGui.QApplication.translate("transaksiEditDlg", "NA", None, QtGui.QApplication.UnicodeUTF8))
        self.tipeKartu.addItem(QtGui.QApplication.translate("transaksiEditDlg", "CIB", None, QtGui.QApplication.UnicodeUTF8))
        self.label_24.setText(QtGui.QApplication.translate("transaksiEditDlg", "Audit User:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("transaksiEditDlg", "Alamat:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("transaksiEditDlg", "Jenis Toko:", None, QtGui.QApplication.UnicodeUTF8))
        self.jenisToko.addItem(QtGui.QApplication.translate("transaksiEditDlg", "EMS", None, QtGui.QApplication.UnicodeUTF8))
        self.label_25.setText(QtGui.QApplication.translate("transaksiEditDlg", "Audit Time:", None, QtGui.QApplication.UnicodeUTF8))
        self.auditTime.setDisplayFormat(QtGui.QApplication.translate("transaksiEditDlg", "dd-MM-yyyy hh:mm", None, QtGui.QApplication.UnicodeUTF8))
        self.tambahDet.setText(QtGui.QApplication.translate("transaksiEditDlg", "Tambah Detail", None, QtGui.QApplication.UnicodeUTF8))
        self.hapusDet.setText(QtGui.QApplication.translate("transaksiEditDlg", "Hapus Detail", None, QtGui.QApplication.UnicodeUTF8))
        self.simpan.setText(QtGui.QApplication.translate("transaksiEditDlg", "Simpan", None, QtGui.QApplication.UnicodeUTF8))
        self.batal.setText(QtGui.QApplication.translate("transaksiEditDlg", "Batal", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    transaksiEditDlg = QtGui.QDialog()
    ui = Ui_transaksiEditDlg()
    ui.setupUi(transaksiEditDlg)
    transaksiEditDlg.show()
    sys.exit(app.exec_())
